<?php
/*
Template Name: Code Toolkit

*/
get_header(); ?>

<div class="tt-entry">
<h2>Code Toolkit</h2>
<?php /*
<style>
div.description {
display:none;
}
</style>
<script>
function showUpdate(id) {
var div = document.getElementById('desc-'+id)
if (div) div.style.display='block'
var ahref = document.getElementById('update-'+id)
if (ahref) ahref.style.display='none'

return false
}
</script>
onclick="return showUpdate(<?php the_id()?>)"
*/ ?>
<div id="tt-monthly-archives" class="tt-second-nav">
    <h3>Recent Updates</h3>
    <ul class="list-idx">
    <?php $query = new WP_Query('cat=11&showposts=3');
    while ($query->have_posts()) : $query->the_post();?>
        <li><strong><?php the_title(); ?></strong><small> - <?php the_time('M d Y'); ?> <a href="<?php the_permalink()?>" id="update-<?php the_id()?>">view update &raquo;</a></small>
        <?php /*<div id="desc-<?php the_id();?>" class="description"><?php the_content(); ?></div> */ ?>
        </li>
    <?php endwhile; ?>
    </ul>

<p>Get notified of when updates are made to these plugins:<br />
<a href="http://feeds.feedburner.com/TanTanToolkit" title="Get notified when updates are made to these plugins" class="feed">Subscribe to Updates</a>
</p>
</div>

<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>


<?php the_content('Read the rest of this entry &raquo;'); ?>


<?php endforeach; ?>
<?php endif; ?>


<div id="tt-older-posts">


</div>


</div> <!-- entry -->
<div id="tt-comments"></div>

<?php get_footer(); ?>
